package Class9_2;

public class Work2 {
    private int s;
    private int a;
    public void s1(int s,int a)throws Exception{
       if (s>100&&a!=0){
       }else if (s<100){
           Exception e=new Exception("数字太小");
           throw e;
       }else if (a==0){
           throw new Exception("除法错误");
       }
       System.out.println(s/a);
    }
}
